FROM centos:centos8.4.2105

# install python by yum, but yum update failed: https://techglimpse.com/failed-metadata-repo-appstream-centos-8/
RUN cd /etc/yum.repos.d/ && sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && yum update -y

# install python3, https://docs.vmware.com/en/VMware-vSphere-Bitfusion/4.0/Example-Guide/GUID-D3A136D1-0EA1-4CD0-AFCF-7FD88299A53A.html
RUN dnf install python3 -y 

# install babel
RUN yum install -y python3-babel

# install git
RUN yum install -y git

# install npm
RUN yum install -y npm

# install po2json
RUN npm install -g po2json


